<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<title>查找</title>
</head>
<body>
	<script>
    var name = prompt("请输入您要查询的单词(one,two,three)：");

    if(name=="one"){
        document.write("一");
    }else if(name=="two"){
        document.write("二");
    }else if(name=="three"){
        document.write("三")
    }else{
        document.write("暂无该单词");
    }
    
</script>

	
</body>
</html>


